<?php
require_once("../../lib/connect_db.php");
$page = $_POST["page"];
if ($page!=""){
	$page_content = $_POST["page_content"];
	
	$sql = "INSERT INTO page_content
			(
				content
				,page_id
				,inp_date
				,upd_date
			)
			VALUES 
			('".$page_content."','".$page."','".date('Ymd')."','".date('Ymd')."')";
	
	mysqli_query($conn,$sql);
}
header('Location: ../thread_manager.php');
?>